home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
commodore-users-of-norman
/
CUON_21_(10-1984).d64
/
sound - raygun
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2019-04-13
|
419b
|
26 lines
10 REM >>> RAYGUN SOUND EFFECT <<<
20 :
30 PRINT"[147] HIT ANY KEY FOR RAYGUN"
40 PRINT" ( * TO END PGM )"
50 GET A$ : IF A$="" THEN 50
60 IF A$="*" THEN 90
70 GOSUB 1000 : REM SOUND SUBROUTINE
75 FOR A=1 TO 10
80 GOTO 30
90 FOR X=1TO24 : POKE 54272+X,0: NEXT
100 END
110 :
1000 REM ** SOUND SUBROUTINE **
1010 :
1020 S=54272
1030 POKE S+24,15
1040 POKE S+6,240
1050 POKE S+4,17
1060 FOR A=1 TO 10
1070 FOR X= 1 TO 255 STEP 25
1080 POKE S+1,X
1090 NEXT X
1100 NEXT A
1110 POKE S+4,32
1120 RETURN